<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.anhry.app.safety.util.Util"%>
<%@ include file="/WEB-INF/pages/share/taglib.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>隐患标准列表</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="<%=basePath+Util.SKIN%>/css/right.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<%=basePath%>/js/jquery-1.7.2.js"></script>
	<script type="text/javascript" src="<%=basePath%>/js/dbdialog/lhgdialog.min.js<%=Util.LHGDIALOG%>"></script>
	<script type="text/javascript" src="<%=path%>/js/selected.js"></script>
	<script type="text/javascript" src="<%=path%>/js/util.js"></script>
  </head>
  
  <body>
	<div  class="body-box">
		<div class="map">
			<div class="map_con">
				您当前的位置：自查自报 &gt; 隐患排查标准管理 &gt; 列表
			</div>
		</div>
		<div id="container">
			<fieldset class="serarch_set">
				<legend>
			  		<div class="search">查询条件</div>
			  	</legend>
			  	<form action="<%=basePath%>/zczb/bzh_list.action?search=1" method="post" name="corpForm">
			   		<label style="width: 80px;">标准名称：</label><input type="text" name="keyWord" value="${keyWord }" size="50%">
			   		<input type="submit" value="搜 索" class="link_input" name="btnsx">
			  	</form>
			</fieldset>
		  	<table border="0" cellpadding="0" cellspacing="0" class="mytable">
		   		<thead>
			    	<tr class="fixedHeaderTr">
			     		<th width="5%">序号</th>
			     		<th width="55%">标准名称</th>
			     		<th width="15%">导入时间</th>
			     		<th width="25%">操作</th>
			    	</tr>
		   		</thead>
			   	<tbody>
			   		<s:if test="%{objList.size>0}">
			   			<s:iterator value="objList" id="obj" status="x">
				   			<tr>
					     		<td align="center">${x.index+1+(page.num-1)*page.size}</td>
					     		<td align="left">${obj.tabName }</td>
					     		<td align="center"><s:date name="#obj.tabTime" format="yyyy-MM-dd"/> </td>
					     		<td align="center">
					     			<a href="<%=basePath %>/zczb/bzh_look.action?objId=${obj.id }&${urls }&num=${page.num }&size=${page.size }" title="查看详细">查看详细</a>
						     		<sp:permission module="zczb_bzh" permissionType="${UPDATE}">
						     			<a href="<%=basePath %>/zczb/bzh_update.action?objId=${obj.id }&forward=1&${urls }&num=${page.num }&size=${page.size }" title="重新导入标准">重新导入</a>
						     			<a href="<%=basePath %>/zczb/bzh_update.action?objId=${obj.id }&forward=2&${urls }&num=${page.num }&size=${page.size }" title="修改对应企业类型">修改</a>
						     		</sp:permission>
						     		<a href="<%=filePath %>/${obj.tabPath }" title="下载" target="_blank">下载</a>
						     		<sp:permission module="zczb_bzh" permissionType="${DELETE}">
						     			<a href="javascript:confirmDg('您确定删除标准么?','<%=basePath %>/zczb/bzh_delete.action?objId=${obj.id }');">删除</a>
						     		</sp:permission>
					     		</td>
					    	</tr>
			   			</s:iterator>
			    	</s:if>
			    	<s:else>
				    	<tr>
				     		<td align="center" colspan="4">暂无数据</td>
				    	</tr>
			    	</s:else>
			   	</tbody>
		  	</table>
		  	<div class="btn_page">
		  		<sp:permission module="zczb_bzh" permissionType="${CREATE}"><input type="button" class="link_input" value="导入标准" onclick="window.location.href='<%=basePath %>/zczb/bzh_add.action?${urls }&num=${page.num }&size=${page.size }'"/></sp:permission>
		  	</div>
		  	<div class="page">
				<jsp:include flush="true" page="../share/fenye.jsp">
				    <jsp:param name="url4page" value="/zczb/bzh_list.action?${urls }" />
			    </jsp:include>	    	
		    </div>
	 	</div>
	</div>
  </body>
  <s:if test="%{tip!=null}">
    	<script>
    		msgDialog('${tip}', 'succ.png');
    	</script>
    </s:if>
</html>
